package com.example.administrator.recyclerviewtest319hz;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.RecyclerView;

import java.util.List;

public class MainActivity extends AppCompatActivity {
    private RecyclerView recyclerView;
    private RecyclerView.LayoutManager layoutManager;//显示布局效果
    private RecyclerView.Adapter myAdapter;//适配器
    private List<ArticleBean> list;//数据源
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }
    private void initRecyclerView(){
        //获取RecyclerView,设置属性，获取数据源，绑定
    }
    private List<ArticleBean> getData()
    {
        //定义一个list  赋值  返回
        return null;
    }
}
